package com.wpl.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WorkorderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WorkorderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderidIsNull() {
            addCriterion("orderid is null");
            return (Criteria) this;
        }

        public Criteria andOrderidIsNotNull() {
            addCriterion("orderid is not null");
            return (Criteria) this;
        }

        public Criteria andOrderidEqualTo(String value) {
            addCriterion("orderid =", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotEqualTo(String value) {
            addCriterion("orderid <>", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThan(String value) {
            addCriterion("orderid >", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThanOrEqualTo(String value) {
            addCriterion("orderid >=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThan(String value) {
            addCriterion("orderid <", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThanOrEqualTo(String value) {
            addCriterion("orderid <=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLike(String value) {
            addCriterion("orderid like", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotLike(String value) {
            addCriterion("orderid not like", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidIn(List<String> values) {
            addCriterion("orderid in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotIn(List<String> values) {
            addCriterion("orderid not in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidBetween(String value1, String value2) {
            addCriterion("orderid between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotBetween(String value1, String value2) {
            addCriterion("orderid not between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andPeriodsIsNull() {
            addCriterion("periods is null");
            return (Criteria) this;
        }

        public Criteria andPeriodsIsNotNull() {
            addCriterion("periods is not null");
            return (Criteria) this;
        }

        public Criteria andPeriodsEqualTo(Integer value) {
            addCriterion("periods =", value, "periods");
            return (Criteria) this;
        }

        public Criteria andPeriodsNotEqualTo(Integer value) {
            addCriterion("periods <>", value, "periods");
            return (Criteria) this;
        }

        public Criteria andPeriodsGreaterThan(Integer value) {
            addCriterion("periods >", value, "periods");
            return (Criteria) this;
        }

        public Criteria andPeriodsGreaterThanOrEqualTo(Integer value) {
            addCriterion("periods >=", value, "periods");
            return (Criteria) this;
        }

        public Criteria andPeriodsLessThan(Integer value) {
            addCriterion("periods <", value, "periods");
            return (Criteria) this;
        }

        public Criteria andPeriodsLessThanOrEqualTo(Integer value) {
            addCriterion("periods <=", value, "periods");
            return (Criteria) this;
        }

        public Criteria andPeriodsIn(List<Integer> values) {
            addCriterion("periods in", values, "periods");
            return (Criteria) this;
        }

        public Criteria andPeriodsNotIn(List<Integer> values) {
            addCriterion("periods not in", values, "periods");
            return (Criteria) this;
        }

        public Criteria andPeriodsBetween(Integer value1, Integer value2) {
            addCriterion("periods between", value1, value2, "periods");
            return (Criteria) this;
        }

        public Criteria andPeriodsNotBetween(Integer value1, Integer value2) {
            addCriterion("periods not between", value1, value2, "periods");
            return (Criteria) this;
        }

        public Criteria andOrderstatusIsNull() {
            addCriterion("orderstatus is null");
            return (Criteria) this;
        }

        public Criteria andOrderstatusIsNotNull() {
            addCriterion("orderstatus is not null");
            return (Criteria) this;
        }

        public Criteria andOrderstatusEqualTo(Integer value) {
            addCriterion("orderstatus =", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusNotEqualTo(Integer value) {
            addCriterion("orderstatus <>", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusGreaterThan(Integer value) {
            addCriterion("orderstatus >", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("orderstatus >=", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusLessThan(Integer value) {
            addCriterion("orderstatus <", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusLessThanOrEqualTo(Integer value) {
            addCriterion("orderstatus <=", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusIn(List<Integer> values) {
            addCriterion("orderstatus in", values, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusNotIn(List<Integer> values) {
            addCriterion("orderstatus not in", values, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusBetween(Integer value1, Integer value2) {
            addCriterion("orderstatus between", value1, value2, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("orderstatus not between", value1, value2, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andUrgetimesIsNull() {
            addCriterion("urgetimes is null");
            return (Criteria) this;
        }

        public Criteria andUrgetimesIsNotNull() {
            addCriterion("urgetimes is not null");
            return (Criteria) this;
        }

        public Criteria andUrgetimesEqualTo(Integer value) {
            addCriterion("urgetimes =", value, "urgetimes");
            return (Criteria) this;
        }

        public Criteria andUrgetimesNotEqualTo(Integer value) {
            addCriterion("urgetimes <>", value, "urgetimes");
            return (Criteria) this;
        }

        public Criteria andUrgetimesGreaterThan(Integer value) {
            addCriterion("urgetimes >", value, "urgetimes");
            return (Criteria) this;
        }

        public Criteria andUrgetimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("urgetimes >=", value, "urgetimes");
            return (Criteria) this;
        }

        public Criteria andUrgetimesLessThan(Integer value) {
            addCriterion("urgetimes <", value, "urgetimes");
            return (Criteria) this;
        }

        public Criteria andUrgetimesLessThanOrEqualTo(Integer value) {
            addCriterion("urgetimes <=", value, "urgetimes");
            return (Criteria) this;
        }

        public Criteria andUrgetimesIn(List<Integer> values) {
            addCriterion("urgetimes in", values, "urgetimes");
            return (Criteria) this;
        }

        public Criteria andUrgetimesNotIn(List<Integer> values) {
            addCriterion("urgetimes not in", values, "urgetimes");
            return (Criteria) this;
        }

        public Criteria andUrgetimesBetween(Integer value1, Integer value2) {
            addCriterion("urgetimes between", value1, value2, "urgetimes");
            return (Criteria) this;
        }

        public Criteria andUrgetimesNotBetween(Integer value1, Integer value2) {
            addCriterion("urgetimes not between", value1, value2, "urgetimes");
            return (Criteria) this;
        }

        public Criteria andUrgelevelIsNull() {
            addCriterion("urgelevel is null");
            return (Criteria) this;
        }

        public Criteria andUrgelevelIsNotNull() {
            addCriterion("urgelevel is not null");
            return (Criteria) this;
        }

        public Criteria andUrgelevelEqualTo(Integer value) {
            addCriterion("urgelevel =", value, "urgelevel");
            return (Criteria) this;
        }

        public Criteria andUrgelevelNotEqualTo(Integer value) {
            addCriterion("urgelevel <>", value, "urgelevel");
            return (Criteria) this;
        }

        public Criteria andUrgelevelGreaterThan(Integer value) {
            addCriterion("urgelevel >", value, "urgelevel");
            return (Criteria) this;
        }

        public Criteria andUrgelevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("urgelevel >=", value, "urgelevel");
            return (Criteria) this;
        }

        public Criteria andUrgelevelLessThan(Integer value) {
            addCriterion("urgelevel <", value, "urgelevel");
            return (Criteria) this;
        }

        public Criteria andUrgelevelLessThanOrEqualTo(Integer value) {
            addCriterion("urgelevel <=", value, "urgelevel");
            return (Criteria) this;
        }

        public Criteria andUrgelevelIn(List<Integer> values) {
            addCriterion("urgelevel in", values, "urgelevel");
            return (Criteria) this;
        }

        public Criteria andUrgelevelNotIn(List<Integer> values) {
            addCriterion("urgelevel not in", values, "urgelevel");
            return (Criteria) this;
        }

        public Criteria andUrgelevelBetween(Integer value1, Integer value2) {
            addCriterion("urgelevel between", value1, value2, "urgelevel");
            return (Criteria) this;
        }

        public Criteria andUrgelevelNotBetween(Integer value1, Integer value2) {
            addCriterion("urgelevel not between", value1, value2, "urgelevel");
            return (Criteria) this;
        }

        public Criteria andProblemtypeIsNull() {
            addCriterion("problemtype is null");
            return (Criteria) this;
        }

        public Criteria andProblemtypeIsNotNull() {
            addCriterion("problemtype is not null");
            return (Criteria) this;
        }

        public Criteria andProblemtypeEqualTo(String value) {
            addCriterion("problemtype =", value, "problemtype");
            return (Criteria) this;
        }

        public Criteria andProblemtypeNotEqualTo(String value) {
            addCriterion("problemtype <>", value, "problemtype");
            return (Criteria) this;
        }

        public Criteria andProblemtypeGreaterThan(String value) {
            addCriterion("problemtype >", value, "problemtype");
            return (Criteria) this;
        }

        public Criteria andProblemtypeGreaterThanOrEqualTo(String value) {
            addCriterion("problemtype >=", value, "problemtype");
            return (Criteria) this;
        }

        public Criteria andProblemtypeLessThan(String value) {
            addCriterion("problemtype <", value, "problemtype");
            return (Criteria) this;
        }

        public Criteria andProblemtypeLessThanOrEqualTo(String value) {
            addCriterion("problemtype <=", value, "problemtype");
            return (Criteria) this;
        }

        public Criteria andProblemtypeLike(String value) {
            addCriterion("problemtype like", value, "problemtype");
            return (Criteria) this;
        }

        public Criteria andProblemtypeNotLike(String value) {
            addCriterion("problemtype not like", value, "problemtype");
            return (Criteria) this;
        }

        public Criteria andProblemtypeIn(List<String> values) {
            addCriterion("problemtype in", values, "problemtype");
            return (Criteria) this;
        }

        public Criteria andProblemtypeNotIn(List<String> values) {
            addCriterion("problemtype not in", values, "problemtype");
            return (Criteria) this;
        }

        public Criteria andProblemtypeBetween(String value1, String value2) {
            addCriterion("problemtype between", value1, value2, "problemtype");
            return (Criteria) this;
        }

        public Criteria andProblemtypeNotBetween(String value1, String value2) {
            addCriterion("problemtype not between", value1, value2, "problemtype");
            return (Criteria) this;
        }

        public Criteria andHandlegroupIsNull() {
            addCriterion("handlegroup is null");
            return (Criteria) this;
        }

        public Criteria andHandlegroupIsNotNull() {
            addCriterion("handlegroup is not null");
            return (Criteria) this;
        }

        public Criteria andHandlegroupEqualTo(String value) {
            addCriterion("handlegroup =", value, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlegroupNotEqualTo(String value) {
            addCriterion("handlegroup <>", value, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlegroupGreaterThan(String value) {
            addCriterion("handlegroup >", value, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlegroupGreaterThanOrEqualTo(String value) {
            addCriterion("handlegroup >=", value, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlegroupLessThan(String value) {
            addCriterion("handlegroup <", value, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlegroupLessThanOrEqualTo(String value) {
            addCriterion("handlegroup <=", value, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlegroupLike(String value) {
            addCriterion("handlegroup like", value, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlegroupNotLike(String value) {
            addCriterion("handlegroup not like", value, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlegroupIn(List<String> values) {
            addCriterion("handlegroup in", values, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlegroupNotIn(List<String> values) {
            addCriterion("handlegroup not in", values, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlegroupBetween(String value1, String value2) {
            addCriterion("handlegroup between", value1, value2, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlegroupNotBetween(String value1, String value2) {
            addCriterion("handlegroup not between", value1, value2, "handlegroup");
            return (Criteria) this;
        }

        public Criteria andHandlepersonIsNull() {
            addCriterion("handleperson is null");
            return (Criteria) this;
        }

        public Criteria andHandlepersonIsNotNull() {
            addCriterion("handleperson is not null");
            return (Criteria) this;
        }

        public Criteria andHandlepersonEqualTo(String value) {
            addCriterion("handleperson =", value, "handleperson");
            return (Criteria) this;
        }

        public Criteria andHandlepersonNotEqualTo(String value) {
            addCriterion("handleperson <>", value, "handleperson");
            return (Criteria) this;
        }

        public Criteria andHandlepersonGreaterThan(String value) {
            addCriterion("handleperson >", value, "handleperson");
            return (Criteria) this;
        }

        public Criteria andHandlepersonGreaterThanOrEqualTo(String value) {
            addCriterion("handleperson >=", value, "handleperson");
            return (Criteria) this;
        }

        public Criteria andHandlepersonLessThan(String value) {
            addCriterion("handleperson <", value, "handleperson");
            return (Criteria) this;
        }

        public Criteria andHandlepersonLessThanOrEqualTo(String value) {
            addCriterion("handleperson <=", value, "handleperson");
            return (Criteria) this;
        }

        public Criteria andHandlepersonLike(String value) {
            addCriterion("handleperson like", value, "handleperson");
            return (Criteria) this;
        }

        public Criteria andHandlepersonNotLike(String value) {
            addCriterion("handleperson not like", value, "handleperson");
            return (Criteria) this;
        }

        public Criteria andHandlepersonIn(List<String> values) {
            addCriterion("handleperson in", values, "handleperson");
            return (Criteria) this;
        }

        public Criteria andHandlepersonNotIn(List<String> values) {
            addCriterion("handleperson not in", values, "handleperson");
            return (Criteria) this;
        }

        public Criteria andHandlepersonBetween(String value1, String value2) {
            addCriterion("handleperson between", value1, value2, "handleperson");
            return (Criteria) this;
        }

        public Criteria andHandlepersonNotBetween(String value1, String value2) {
            addCriterion("handleperson not between", value1, value2, "handleperson");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andCreattimeIsNull() {
            addCriterion("creattime is null");
            return (Criteria) this;
        }

        public Criteria andCreattimeIsNotNull() {
            addCriterion("creattime is not null");
            return (Criteria) this;
        }

        public Criteria andCreattimeEqualTo(Date value) {
            addCriterion("creattime =", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeNotEqualTo(Date value) {
            addCriterion("creattime <>", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeGreaterThan(Date value) {
            addCriterion("creattime >", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeGreaterThanOrEqualTo(Date value) {
            addCriterion("creattime >=", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeLessThan(Date value) {
            addCriterion("creattime <", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeLessThanOrEqualTo(Date value) {
            addCriterion("creattime <=", value, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeIn(List<Date> values) {
            addCriterion("creattime in", values, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeNotIn(List<Date> values) {
            addCriterion("creattime not in", values, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeBetween(Date value1, Date value2) {
            addCriterion("creattime between", value1, value2, "creattime");
            return (Criteria) this;
        }

        public Criteria andCreattimeNotBetween(Date value1, Date value2) {
            addCriterion("creattime not between", value1, value2, "creattime");
            return (Criteria) this;
        }

        public Criteria andComeinchannelIsNull() {
            addCriterion("comeinchannel is null");
            return (Criteria) this;
        }

        public Criteria andComeinchannelIsNotNull() {
            addCriterion("comeinchannel is not null");
            return (Criteria) this;
        }

        public Criteria andComeinchannelEqualTo(String value) {
            addCriterion("comeinchannel =", value, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andComeinchannelNotEqualTo(String value) {
            addCriterion("comeinchannel <>", value, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andComeinchannelGreaterThan(String value) {
            addCriterion("comeinchannel >", value, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andComeinchannelGreaterThanOrEqualTo(String value) {
            addCriterion("comeinchannel >=", value, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andComeinchannelLessThan(String value) {
            addCriterion("comeinchannel <", value, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andComeinchannelLessThanOrEqualTo(String value) {
            addCriterion("comeinchannel <=", value, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andComeinchannelLike(String value) {
            addCriterion("comeinchannel like", value, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andComeinchannelNotLike(String value) {
            addCriterion("comeinchannel not like", value, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andComeinchannelIn(List<String> values) {
            addCriterion("comeinchannel in", values, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andComeinchannelNotIn(List<String> values) {
            addCriterion("comeinchannel not in", values, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andComeinchannelBetween(String value1, String value2) {
            addCriterion("comeinchannel between", value1, value2, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andComeinchannelNotBetween(String value1, String value2) {
            addCriterion("comeinchannel not between", value1, value2, "comeinchannel");
            return (Criteria) this;
        }

        public Criteria andCallphoneIsNull() {
            addCriterion("callphone is null");
            return (Criteria) this;
        }

        public Criteria andCallphoneIsNotNull() {
            addCriterion("callphone is not null");
            return (Criteria) this;
        }

        public Criteria andCallphoneEqualTo(String value) {
            addCriterion("callphone =", value, "callphone");
            return (Criteria) this;
        }

        public Criteria andCallphoneNotEqualTo(String value) {
            addCriterion("callphone <>", value, "callphone");
            return (Criteria) this;
        }

        public Criteria andCallphoneGreaterThan(String value) {
            addCriterion("callphone >", value, "callphone");
            return (Criteria) this;
        }

        public Criteria andCallphoneGreaterThanOrEqualTo(String value) {
            addCriterion("callphone >=", value, "callphone");
            return (Criteria) this;
        }

        public Criteria andCallphoneLessThan(String value) {
            addCriterion("callphone <", value, "callphone");
            return (Criteria) this;
        }

        public Criteria andCallphoneLessThanOrEqualTo(String value) {
            addCriterion("callphone <=", value, "callphone");
            return (Criteria) this;
        }

        public Criteria andCallphoneLike(String value) {
            addCriterion("callphone like", value, "callphone");
            return (Criteria) this;
        }

        public Criteria andCallphoneNotLike(String value) {
            addCriterion("callphone not like", value, "callphone");
            return (Criteria) this;
        }

        public Criteria andCallphoneIn(List<String> values) {
            addCriterion("callphone in", values, "callphone");
            return (Criteria) this;
        }

        public Criteria andCallphoneNotIn(List<String> values) {
            addCriterion("callphone not in", values, "callphone");
            return (Criteria) this;
        }

        public Criteria andCallphoneBetween(String value1, String value2) {
            addCriterion("callphone between", value1, value2, "callphone");
            return (Criteria) this;
        }

        public Criteria andCallphoneNotBetween(String value1, String value2) {
            addCriterion("callphone not between", value1, value2, "callphone");
            return (Criteria) this;
        }

        public Criteria andCustomernameIsNull() {
            addCriterion("customername is null");
            return (Criteria) this;
        }

        public Criteria andCustomernameIsNotNull() {
            addCriterion("customername is not null");
            return (Criteria) this;
        }

        public Criteria andCustomernameEqualTo(String value) {
            addCriterion("customername =", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotEqualTo(String value) {
            addCriterion("customername <>", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameGreaterThan(String value) {
            addCriterion("customername >", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameGreaterThanOrEqualTo(String value) {
            addCriterion("customername >=", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameLessThan(String value) {
            addCriterion("customername <", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameLessThanOrEqualTo(String value) {
            addCriterion("customername <=", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameLike(String value) {
            addCriterion("customername like", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotLike(String value) {
            addCriterion("customername not like", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameIn(List<String> values) {
            addCriterion("customername in", values, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotIn(List<String> values) {
            addCriterion("customername not in", values, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameBetween(String value1, String value2) {
            addCriterion("customername between", value1, value2, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotBetween(String value1, String value2) {
            addCriterion("customername not between", value1, value2, "customername");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(String value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(String value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(String value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(String value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(String value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(String value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLike(String value) {
            addCriterion("sex like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotLike(String value) {
            addCriterion("sex not like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<String> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<String> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(String value1, String value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(String value1, String value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeIsNull() {
            addCriterion("certificatetype is null");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeIsNotNull() {
            addCriterion("certificatetype is not null");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeEqualTo(String value) {
            addCriterion("certificatetype =", value, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeNotEqualTo(String value) {
            addCriterion("certificatetype <>", value, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeGreaterThan(String value) {
            addCriterion("certificatetype >", value, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeGreaterThanOrEqualTo(String value) {
            addCriterion("certificatetype >=", value, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeLessThan(String value) {
            addCriterion("certificatetype <", value, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeLessThanOrEqualTo(String value) {
            addCriterion("certificatetype <=", value, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeLike(String value) {
            addCriterion("certificatetype like", value, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeNotLike(String value) {
            addCriterion("certificatetype not like", value, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeIn(List<String> values) {
            addCriterion("certificatetype in", values, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeNotIn(List<String> values) {
            addCriterion("certificatetype not in", values, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeBetween(String value1, String value2) {
            addCriterion("certificatetype between", value1, value2, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCertificatetypeNotBetween(String value1, String value2) {
            addCriterion("certificatetype not between", value1, value2, "certificatetype");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberIsNull() {
            addCriterion("centificatenumber is null");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberIsNotNull() {
            addCriterion("centificatenumber is not null");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberEqualTo(String value) {
            addCriterion("centificatenumber =", value, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberNotEqualTo(String value) {
            addCriterion("centificatenumber <>", value, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberGreaterThan(String value) {
            addCriterion("centificatenumber >", value, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberGreaterThanOrEqualTo(String value) {
            addCriterion("centificatenumber >=", value, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberLessThan(String value) {
            addCriterion("centificatenumber <", value, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberLessThanOrEqualTo(String value) {
            addCriterion("centificatenumber <=", value, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberLike(String value) {
            addCriterion("centificatenumber like", value, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberNotLike(String value) {
            addCriterion("centificatenumber not like", value, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberIn(List<String> values) {
            addCriterion("centificatenumber in", values, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberNotIn(List<String> values) {
            addCriterion("centificatenumber not in", values, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberBetween(String value1, String value2) {
            addCriterion("centificatenumber between", value1, value2, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andCentificatenumberNotBetween(String value1, String value2) {
            addCriterion("centificatenumber not between", value1, value2, "centificatenumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneIsNull() {
            addCriterion("telephone is null");
            return (Criteria) this;
        }

        public Criteria andTelephoneIsNotNull() {
            addCriterion("telephone is not null");
            return (Criteria) this;
        }

        public Criteria andTelephoneEqualTo(String value) {
            addCriterion("telephone =", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotEqualTo(String value) {
            addCriterion("telephone <>", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThan(String value) {
            addCriterion("telephone >", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThanOrEqualTo(String value) {
            addCriterion("telephone >=", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThan(String value) {
            addCriterion("telephone <", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThanOrEqualTo(String value) {
            addCriterion("telephone <=", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLike(String value) {
            addCriterion("telephone like", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotLike(String value) {
            addCriterion("telephone not like", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneIn(List<String> values) {
            addCriterion("telephone in", values, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotIn(List<String> values) {
            addCriterion("telephone not in", values, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneBetween(String value1, String value2) {
            addCriterion("telephone between", value1, value2, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotBetween(String value1, String value2) {
            addCriterion("telephone not between", value1, value2, "telephone");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteIsNull() {
            addCriterion("wechatwhite is null");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteIsNotNull() {
            addCriterion("wechatwhite is not null");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteEqualTo(String value) {
            addCriterion("wechatwhite =", value, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteNotEqualTo(String value) {
            addCriterion("wechatwhite <>", value, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteGreaterThan(String value) {
            addCriterion("wechatwhite >", value, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteGreaterThanOrEqualTo(String value) {
            addCriterion("wechatwhite >=", value, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteLessThan(String value) {
            addCriterion("wechatwhite <", value, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteLessThanOrEqualTo(String value) {
            addCriterion("wechatwhite <=", value, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteLike(String value) {
            addCriterion("wechatwhite like", value, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteNotLike(String value) {
            addCriterion("wechatwhite not like", value, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteIn(List<String> values) {
            addCriterion("wechatwhite in", values, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteNotIn(List<String> values) {
            addCriterion("wechatwhite not in", values, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteBetween(String value1, String value2) {
            addCriterion("wechatwhite between", value1, value2, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andWechatwhiteNotBetween(String value1, String value2) {
            addCriterion("wechatwhite not between", value1, value2, "wechatwhite");
            return (Criteria) this;
        }

        public Criteria andQqwhileIsNull() {
            addCriterion("qqwhile is null");
            return (Criteria) this;
        }

        public Criteria andQqwhileIsNotNull() {
            addCriterion("qqwhile is not null");
            return (Criteria) this;
        }

        public Criteria andQqwhileEqualTo(String value) {
            addCriterion("qqwhile =", value, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andQqwhileNotEqualTo(String value) {
            addCriterion("qqwhile <>", value, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andQqwhileGreaterThan(String value) {
            addCriterion("qqwhile >", value, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andQqwhileGreaterThanOrEqualTo(String value) {
            addCriterion("qqwhile >=", value, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andQqwhileLessThan(String value) {
            addCriterion("qqwhile <", value, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andQqwhileLessThanOrEqualTo(String value) {
            addCriterion("qqwhile <=", value, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andQqwhileLike(String value) {
            addCriterion("qqwhile like", value, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andQqwhileNotLike(String value) {
            addCriterion("qqwhile not like", value, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andQqwhileIn(List<String> values) {
            addCriterion("qqwhile in", values, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andQqwhileNotIn(List<String> values) {
            addCriterion("qqwhile not in", values, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andQqwhileBetween(String value1, String value2) {
            addCriterion("qqwhile between", value1, value2, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andQqwhileNotBetween(String value1, String value2) {
            addCriterion("qqwhile not between", value1, value2, "qqwhile");
            return (Criteria) this;
        }

        public Criteria andOpenchannelIsNull() {
            addCriterion("openchannel is null");
            return (Criteria) this;
        }

        public Criteria andOpenchannelIsNotNull() {
            addCriterion("openchannel is not null");
            return (Criteria) this;
        }

        public Criteria andOpenchannelEqualTo(String value) {
            addCriterion("openchannel =", value, "openchannel");
            return (Criteria) this;
        }

        public Criteria andOpenchannelNotEqualTo(String value) {
            addCriterion("openchannel <>", value, "openchannel");
            return (Criteria) this;
        }

        public Criteria andOpenchannelGreaterThan(String value) {
            addCriterion("openchannel >", value, "openchannel");
            return (Criteria) this;
        }

        public Criteria andOpenchannelGreaterThanOrEqualTo(String value) {
            addCriterion("openchannel >=", value, "openchannel");
            return (Criteria) this;
        }

        public Criteria andOpenchannelLessThan(String value) {
            addCriterion("openchannel <", value, "openchannel");
            return (Criteria) this;
        }

        public Criteria andOpenchannelLessThanOrEqualTo(String value) {
            addCriterion("openchannel <=", value, "openchannel");
            return (Criteria) this;
        }

        public Criteria andOpenchannelLike(String value) {
            addCriterion("openchannel like", value, "openchannel");
            return (Criteria) this;
        }

        public Criteria andOpenchannelNotLike(String value) {
            addCriterion("openchannel not like", value, "openchannel");
            return (Criteria) this;
        }

        public Criteria andOpenchannelIn(List<String> values) {
            addCriterion("openchannel in", values, "openchannel");
            return (Criteria) this;
        }

        public Criteria andOpenchannelNotIn(List<String> values) {
            addCriterion("openchannel not in", values, "openchannel");
            return (Criteria) this;
        }

        public Criteria andOpenchannelBetween(String value1, String value2) {
            addCriterion("openchannel between", value1, value2, "openchannel");
            return (Criteria) this;
        }

        public Criteria andOpenchannelNotBetween(String value1, String value2) {
            addCriterion("openchannel not between", value1, value2, "openchannel");
            return (Criteria) this;
        }

        public Criteria andCustomertypeIsNull() {
            addCriterion("customertype is null");
            return (Criteria) this;
        }

        public Criteria andCustomertypeIsNotNull() {
            addCriterion("customertype is not null");
            return (Criteria) this;
        }

        public Criteria andCustomertypeEqualTo(String value) {
            addCriterion("customertype =", value, "customertype");
            return (Criteria) this;
        }

        public Criteria andCustomertypeNotEqualTo(String value) {
            addCriterion("customertype <>", value, "customertype");
            return (Criteria) this;
        }

        public Criteria andCustomertypeGreaterThan(String value) {
            addCriterion("customertype >", value, "customertype");
            return (Criteria) this;
        }

        public Criteria andCustomertypeGreaterThanOrEqualTo(String value) {
            addCriterion("customertype >=", value, "customertype");
            return (Criteria) this;
        }

        public Criteria andCustomertypeLessThan(String value) {
            addCriterion("customertype <", value, "customertype");
            return (Criteria) this;
        }

        public Criteria andCustomertypeLessThanOrEqualTo(String value) {
            addCriterion("customertype <=", value, "customertype");
            return (Criteria) this;
        }

        public Criteria andCustomertypeLike(String value) {
            addCriterion("customertype like", value, "customertype");
            return (Criteria) this;
        }

        public Criteria andCustomertypeNotLike(String value) {
            addCriterion("customertype not like", value, "customertype");
            return (Criteria) this;
        }

        public Criteria andCustomertypeIn(List<String> values) {
            addCriterion("customertype in", values, "customertype");
            return (Criteria) this;
        }

        public Criteria andCustomertypeNotIn(List<String> values) {
            addCriterion("customertype not in", values, "customertype");
            return (Criteria) this;
        }

        public Criteria andCustomertypeBetween(String value1, String value2) {
            addCriterion("customertype between", value1, value2, "customertype");
            return (Criteria) this;
        }

        public Criteria andCustomertypeNotBetween(String value1, String value2) {
            addCriterion("customertype not between", value1, value2, "customertype");
            return (Criteria) this;
        }

        public Criteria andCreatpersonIsNull() {
            addCriterion("creatperson is null");
            return (Criteria) this;
        }

        public Criteria andCreatpersonIsNotNull() {
            addCriterion("creatperson is not null");
            return (Criteria) this;
        }

        public Criteria andCreatpersonEqualTo(String value) {
            addCriterion("creatperson =", value, "creatperson");
            return (Criteria) this;
        }

        public Criteria andCreatpersonNotEqualTo(String value) {
            addCriterion("creatperson <>", value, "creatperson");
            return (Criteria) this;
        }

        public Criteria andCreatpersonGreaterThan(String value) {
            addCriterion("creatperson >", value, "creatperson");
            return (Criteria) this;
        }

        public Criteria andCreatpersonGreaterThanOrEqualTo(String value) {
            addCriterion("creatperson >=", value, "creatperson");
            return (Criteria) this;
        }

        public Criteria andCreatpersonLessThan(String value) {
            addCriterion("creatperson <", value, "creatperson");
            return (Criteria) this;
        }

        public Criteria andCreatpersonLessThanOrEqualTo(String value) {
            addCriterion("creatperson <=", value, "creatperson");
            return (Criteria) this;
        }

        public Criteria andCreatpersonLike(String value) {
            addCriterion("creatperson like", value, "creatperson");
            return (Criteria) this;
        }

        public Criteria andCreatpersonNotLike(String value) {
            addCriterion("creatperson not like", value, "creatperson");
            return (Criteria) this;
        }

        public Criteria andCreatpersonIn(List<String> values) {
            addCriterion("creatperson in", values, "creatperson");
            return (Criteria) this;
        }

        public Criteria andCreatpersonNotIn(List<String> values) {
            addCriterion("creatperson not in", values, "creatperson");
            return (Criteria) this;
        }

        public Criteria andCreatpersonBetween(String value1, String value2) {
            addCriterion("creatperson between", value1, value2, "creatperson");
            return (Criteria) this;
        }

        public Criteria andCreatpersonNotBetween(String value1, String value2) {
            addCriterion("creatperson not between", value1, value2, "creatperson");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}